]> dgit.raspbian.org Git - gnome-shell.git/commit
js/ui: Use Clutter.OffscreenRedirect.ON_IDLE
authorDaniel van Vugt <daniel.van.vugt@canonical.com>
Wed, 19 Feb 2020 11:09:07 +0000 (19:09 +0800)
committerFlorian Müllner <florian.muellner@gmail.com>
Fri, 21 Feb 2020 12:19:15 +0000 (12:19 +0000)
commitc0c027c608d0aa1c547a2a82bd3ce6b84bb83b83
treebca3250492111d777756b87c765e17acb7b440c7
parente938986a7474087e1e4c010da5bb4c62aa433d42
js/ui: Use Clutter.OffscreenRedirect.ON_IDLE

To bypass offscreening in cases where continuous animation is happening.
Offscreening is slower in such cases so this reduces the render time of
animations within offscreenable actors.

On an i7-7700 this reduces the render time of boxpointers for example by
25-30%.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1025
js/ui/boxpointer.js
js/ui/dash.js
js/ui/overview.js
js/ui/panel.js
js/ui/windowManager.js